<form class="{$class|default='w-100'}" action="{$action}" method="{$method|default='post'}" data-toggle="{:dcBool($ajax,'form')}" data-call-back="{$call_back}" target="{$target|default='_self'}">
{foreach $items as $key=>$item}
{:dcView($item)}
{/foreach}
<div class="{$class_button|default='text-center'}">
  <button type="submit" class="{$class_submit}">{$submit}</button>
  {if $reset}
  <button type="reset" class="{$class_reset}">{$reset}</button>
  {/if}
  {if $close}
  <button type="button" class="{$class_close}" data-dismiss="modal" aria-label="Close">{$close}</button>
  {/if}
</div>
</form>